package com.frxuexi.lib_base.room

import androidx.room.Dao
import androidx.room.Insert
import androidx.room.OnConflictStrategy
import androidx.room.Query

@Dao
interface SignDao {

    @Insert(onConflict = OnConflictStrategy.REPLACE)
    fun addSign(signEntity: SignEntity):Long

    @Query("select * from sign order by id desc")
    fun selectSign():List<SignEntity>
}